<!DOCTYPE html>
<html>
<head>
<title>业绩分析</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport"
	content="width=device-width,initial-scale=1,maximum-scale=1">
<script type="text/javascript"
	src="/business/js/core/seajs2/dist/sea.js"
	data-config="/business/js/global.js" data-main="/business/js/main.js"></script>
	<script type="text/javascript"src="/js/jquery-1.8.3.min.js"></script>
</head>
<body class='contrast-blue '>
	<div class='span12' style='margin-left: 0'>
		<div class='row-fluid'>
			<div class='span12'>
				<div class='page-header'>
					<h1 class='pull-left'>
						<i class='icon-book'></i><span id="show">业绩分析</span>
					</h1>
				</div>
			</div>
		</div>

		<!-- 查询条件区 -->
		<div class='box bordered-box '>
			<div id="queryAreaId"></div>
		</div>

		<h4>选择业绩统计分析维度</h4>
		<div class="span6">
			<div class='control-group'>
				<button id="btnByApplication" type="button" class="btn btn-contrast">应用名称</button>
				<button id="btnByIsv" type="button" class="btn btn-contrast">ISV</button>
				<button id="btnByCarrier" type="button" class="btn btn-contrast">企业</button>
				<button id="btnByProvince" type="button" class="btn btn-contrast">省市</button>
			</div>
		</div>

		<!-- 维度分析数据显示 -->
		<div id='applytype_div'></div>
		<div id='isv_div' style="display: none;"></div>
		<div id='carrier_div' style="display: none;"></div>
		<div id='province_div' style="display: none;"></div>

		<!-- 数据显示 height: 460px-->
		<div id='data_table'></div>
		
		<!-- 放置图片-->
		<div id='data_error'></div>

		<!-- 图表区，应用 -->
		<div class='row-fluid'>
			<div class='span12'>
				<div id="container2" style="height: 400px; display: none" class='span12'></div>
			</div>
		</div>
		<div class='row-fluid'>
			<div class='span12'>
				<div id="container3" style="height: 400px; display: none" class='span12'></div>
			</div>
		</div>
		<div class='row-fluid'>
			<div class='span12'>
				<div id="container4" style="height: 400px; display: none" class='span12'></div>
			</div>
		</div>
		<div class='row-fluid'>
			<div class='span12'>
				<div id="container5" style="height: 400px; display: none" class='span12'></div>
			</div>
		</div>
		<!-- 图表区，省份 -->
		<div class='row-fluid'>
			<div class='span12'>
				<div id="container1" style="height: 410px; display: none" class='span12'></div>
			</div>
		</div>
		
	</div>


	<script type="text/javascript">
		seajs.use([ "$", "js/common/pub/src/js/achievementanalyse","store" ],
			function($, achievementcount, store) {
				// 初始化第一步数据
				achievementcount.init({
					ajaxUrl : "/pubbase/achievementcount/pagination/achievementperformanceanalysis",
					divWrapperId : "data_table",//data_table
					storeId : store.get("userInfo").storeId,
					applytype_divId:"applytype_div",
					isv_divId:"isv_div",
					carrier_divId:"carrier_div",
					province_divId:"province_div",
					feemonth_divId:"feemonth_div"
				});
			});
	</script>

</body>
</html>